home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
SWAG
/
SWAGA_C
/
COMM.SWG
/
0020_Get Serial Port Timeout.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-08-18
|
331b
|
12 lines
FUNCTION Serial_Time_Out(COM : byte) : byte;
{ DESCRIPTION:
Time-Out values for RS232 communications lines.
SAMPLE CALL:
NB := Serial_Time_Out(1);
NOTES:
The allowed values for COM are: 1,2,3 or 4. }
BEGIN { Serial_Time_Out }
Serial_Time_Out := Mem[$0000:$047C + Pred(COM)];
END; { Serial_Time_Out }